package com.pxxy.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pxxy.common.utils.PageUtils;
import com.pxxy.common.utils.R;
import com.pxxy.mall.product.dto.attrgroup.AttrgroupReqDTO;
import com.pxxy.mall.product.entity.AttrGroupEntity;
import com.pxxy.mall.product.vo.AttrAttrgroupRelationVo;
import com.pxxy.mall.product.vo.AttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author Zhangjj
 * @email zhangjianjian@gmail.com
 * @date 2023-11-29 17:05:08
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    PageUtils queryPage(Map<String, Object> params);

    List<AttrAttrgroupRelationVo> queryAttrRelation(Long attrGroupId);

    void removeMoreByIds(List<AttrgroupReqDTO> attrgroupReqDTO);


    List<AttrGroupVo> getAttrGroupWithattr(Long catelogId);
}

